@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

html,
body,
.bg,
.bg-img {
  width: 100%;
  height: 100%;
}
body {
  position: relative;
}
.bg {
  position: absolute;
  left: 0;
  top: 0;
  animation: fade-in 1s ease forwards;
  background-color: #cccccc;
}
.bg .bg-img {
  object-fit: cover;
}

.sentence {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  text-shadow: #000 0.5px 0 0, #000 0 0.5px 0, #000 -0.5px 0 0, #000 0 -0.5px 0;
  /* color: #000;
  text-shadow: #fff 0.5px 0 0, #fff 0 0.5px 0, #fff -0.5px 0 0, #fff 0 -0.5px 0; */
  font-size: 14px;
}
.sentence .text {
  margin-bottom: 5px;
}
.sentence .author {
}

.container {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: absolute;
  top: 100px;
  left: 50%;
  margin-left: -650px;
  width: 1300px;
  height: 600px;
}

.container li {
  list-style: none;
  height: 100%;
  width: 1300px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  animation: fly-in 1s ease;
}

.bookmark {
  cursor: pointer;
  padding: 10px 0;
  box-sizing: border-box;
  animation: fade-in 1s ease;
}
.bookmark .img {
  width: 60px;
  height: 60px;
  margin: 10px auto;
  box-shadow: 0 0 2px 1px #c3c3c3;
  background-color: rgba(229, 229, 229, 0.6);
  border-radius: 4px;
  box-sizing: border-box;
  padding: 15px;
}

.bookmark .img .name-box {
  /* background-color: #7575fc; */
  width: 100%;
  height: 100%;
  border-radius: 3px;
  font-size: 20px;
  text-shadow: #fff 0.5px 0 0, #fff 0 0.5px 0, #fff -0.5px 0 0, #fff 0 -0.5px 0;
  text-align: center;
}
.bookmark .img img {
  width: 100%;
  height: 100%;
}
.bookmark .text {
  margin: auto;
  text-align: center;
  color: #303133;
  font-size: 14px;
  font-weight: bold;
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: #fff 0.5px 0 0, #fff 0 0.5px 0, #fff -0.5px 0 0, #fff 0 -0.5px 0;
  white-space: nowrap;
}
.bookmark .text:hover {
  color: #409eff;
}

.download-icon {
  position: fixed;
  z-index: 99;
  right: 20px;
  bottom: 20px;
  padding: 4px;
  box-sizing: border-box;
}
.download-icon:hover {
  background-color: #bbbbbb;
  border-radius: 5px;
  cursor: pointer;
}

/* 渐渐显示的动画效果 */
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* 位移动画 */
@keyframes fly-in {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
